% Remember to use the lgrind style

\Head{}
\File{./java/MapItem.java}{2006}{4}{27}{19:09}{1611}
\L{\LB{\C{}/*}}
\L{\LB{_*_project01:_Description}}
\L{\LB{_*_Ian_Melnick_(dazed)}}
\L{\LB{_*_March_14,_2006,_4:04_PM}}
\L{\LB{_*_Course,_Prof}}
\L{\LB{_*}}
\L{\LB{_*_MapItem.java}}
\L{\LB{_*/\CE{}}}
\L{\LB{}}
\L{\LB{\K{package}_\V{project01};}}
\L{\LB{\K{import}_\V{java}.\V{io}.\V{Serializable};}}
\L{\LB{}}
\L{\LB{}}
\L{\LB{\C{}/**}}
\L{\LB{_*_Describes_an_item_to_be_placed_on_a_map.}}
\L{\LB{_*_}}
\L{\LB{_*_\CE{}\V{author}_\V{Ian}_\V{Melnick}}}
\L{\LB{\C{}*/\CE{}}}
\L{\LB{\K{public}_\K{class}_\V{MapItem}_\K{implements}_\V{Serializable}_\{}}
\L{\LB{}\Tab{4}{\C{}/**_This_node{'}s_unique_identification_number._*/\CE{}}}
\L{\LB{}\Tab{4}{\K{protected}_\K{int}_\V{id};}}
\L{\LB{}\Tab{4}{}}
\L{\LB{}\Tab{4}{\C{}/**_Describes_this_node,_i.e.,_room_number._*/\CE{}}}
\L{\LB{}\Tab{4}{\K{protected}_\V{String}_\V{description};}}
\L{\LB{}\Tab{4}{}}
\L{\LB{}\Tab{4}{\C{}/**_The_name_of_the_map_that_this_item_is_a_member_of._*/\CE{}}}
\L{\LB{}\Tab{4}{\K{protected}_\V{String}_\V{map};}}
\L{\LB{}\Tab{4}{}}
\L{\LB{}\Tab{4}{}}
\L{\LB{}\Tab{4}{\C{}/**_Creates_a_new_instance_of_MapItem_*/\CE{}}}
\index{MapItem}\Proc{MapItem}\L{\LB{}\Tab{4}{\K{public}_\V{MapItem}()}\Tab{40}{\{_\K{this}.\V{id}_=_\-\N{1};}\Tab{72}{\}}}
\index{MapItem}\Proc{MapItem}\L{\LB{}\Tab{4}{\K{public}_\V{MapItem}(\K{int}_\V{id})}\Tab{40}{\{_\K{this}.\V{id}_=_\V{id};}\Tab{72}{\}}}
\index{MapItem}\Proc{MapItem}\L{\LB{}\Tab{4}{\K{public}_\V{MapItem}(\K{int}_\V{id},_\V{String}_\V{map})}\Tab{40}{\{_\K{this}(\V{id});_\K{this}.\V{map}_=_\V{map};_\}}}
\index{MapItem}\Proc{MapItem}\L{\LB{}\Tab{4}{\K{public}_\V{MapItem}(\K{int}_\V{id},_\V{String}_\V{map},_\V{String}_\V{d})_\{_\K{this}(\V{id},\V{map});_\K{this}.\V{description}_=_\V{d};_\}}}
\L{\LB{}\Tab{3}{}}
\L{\LB{}\Tab{4}{}}
\index{id}\Proc{id}\L{\LB{}\Tab{4}{\K{public}_\K{int}_\V{id}()}\Tab{40}{\{_\K{return}_\K{this}.\V{id};}\Tab{72}{\}}}
\index{setId}\Proc{setId}\L{\LB{}\Tab{4}{\K{public}_\K{void}_\V{setId}(\K{int}_\V{id})}\Tab{40}{\{_\K{this}.\V{id}_=_\V{id};}\Tab{72}{\}}}
\L{\LB{}\Tab{4}{}}
\L{\LB{}\Tab{4}{\C{}/**_Set:_This_node{'}s_string_representation._*/\CE{}}}
\index{setDescription}\Proc{setDescription}\L{\LB{}\Tab{4}{\K{public}_\K{void}_\V{setDescription}(\V{String}_\V{d})\{_\K{this}.\V{description}_=_\V{d};}\Tab{72}{\}}}
\L{\LB{}\Tab{4}{}}
\L{\LB{}\Tab{4}{\C{}/**_Get:_This_node{'}s_description._*/\CE{}}}
\index{description}\Proc{description}\L{\LB{}\Tab{4}{\K{public}_\V{String}_\V{description}()}\Tab{40}{\{_\K{return}_\K{this}.\V{description};}\Tab{72}{\}}}
\L{\LB{}\Tab{4}{}}
\index{setMap}\Proc{setMap}\L{\LB{}\Tab{4}{\K{public}_\K{void}_\V{setMap}(\V{String}_\V{m})}\Tab{40}{\{_\K{this}.\V{map}_=_\V{m};}\Tab{72}{\}}}
\index{map}\Proc{map}\L{\LB{}\Tab{4}{\K{public}_\V{String}_\V{map}()}\Tab{40}{\{_\K{return}_\K{this}.\V{map};}\Tab{72}{\}}}
\L{\LB{}\Tab{4}{}}
\L{\LB{}\Tab{4}{\C{}/**_Get:_This_node{'}s_string_representation._*/\CE{}}}
\index{toString}\Proc{toString}\L{\LB{}\Tab{4}{\K{public}_\V{String}_\V{toString}()}\Tab{40}{\{_\K{return}_\C{}/*map+\3:_\3+*/\CE{}\V{description};}\Tab{76}{\}}}
\L{\LB{\}}}
